package com.oocl.util;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringContextFactory {
	private static ApplicationContext context;
	
	public static ApplicationContext getInstance(){
		if(null==context){
			context = new ClassPathXmlApplicationContext("config/applicationContext.xml");
		}
		return context;
	}
}
